package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseTreeVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.E_LEVEL;
import static org.jsola.core.example.BaseExample.E_PARENT_ID;
import static org.jsola.core.example.BaseExample.E_SORT;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.core.example.BaseExample.N_LEVEL;
import static org.jsola.core.example.BaseExample.N_PARENT_ID;
import static org.jsola.core.example.BaseExample.N_SORT;
import static org.jsola.hr.example.FormGroupExample.E_FORM_TYPE;
import static org.jsola.hr.example.FormGroupExample.E_MODULE_CODE;
import static org.jsola.hr.example.FormGroupExample.E_MODULE_NAME;
import static org.jsola.hr.example.FormGroupExample.E_SUBJECT_ID;
import static org.jsola.hr.example.FormGroupExample.E_SUBJECT_TYPE;
import static org.jsola.hr.example.FormGroupExample.N_FORM_TYPE;
import static org.jsola.hr.example.FormGroupExample.N_MODULE_CODE;
import static org.jsola.hr.example.FormGroupExample.N_MODULE_NAME;
import static org.jsola.hr.example.FormGroupExample.N_SUBJECT_ID;
import static org.jsola.hr.example.FormGroupExample.N_SUBJECT_TYPE;

/**
 * 表单字段分组
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【表单字段分组】列表展示对象")
@Data
public class FormGroupListVO extends BaseTreeVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private Long id;

    @ApiModelProperty(notes = N_MODULE_NAME, example = E_MODULE_NAME)
    private String moduleName;

    @ApiModelProperty(notes = N_MODULE_CODE, example = E_MODULE_CODE)
    private String moduleCode;

    @ApiModelProperty(notes = N_FORM_TYPE, example = E_FORM_TYPE)
    private String formType;

    @ApiModelProperty(notes = N_SUBJECT_TYPE, example = E_SUBJECT_TYPE)
    private String subjectType;

    @ApiModelProperty(notes = N_SUBJECT_ID, example = E_SUBJECT_ID)
    private String subjectId;

    @ApiModelProperty(notes = N_PARENT_ID, example = E_PARENT_ID)
    private Long parentId;

    @ApiModelProperty(notes = N_SORT, example = E_SORT)
    private Long sort;

    @ApiModelProperty(notes = N_LEVEL, example = E_LEVEL)
    private Integer level;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

